toolstar

Read about toolstar, The latest news, videos, and discussion topics about toolstar from alibabacloud.com

CentOS 6.7 compilation and installation of LAMP

"Desktop Platform Development"Yum-y groupinstall "X Software Development"Yum-y install wget gcc-c ++ ncurses-devel cmakemake perl bison openssl-devel gcc * libxml2 libxml2-devel curl-devellibjpeg * libpng * freetype * pcre-devel bzip2-devel libmcrypt- devel 3. Compile and install apr1. Compile and install apr Cd/toolsTar xjvfapr-1.5.2.tar.bz2-C/usr/src/; cd/usr/src/apr-1.5.2/./Configure -- prefix =/usr/local/aprMake makeinstall 2. Compile and instal

One click to optimize the PHP of lamp

#!/bin/sh# #一键优化lamp之php#安装eaccelerator缓存加速器Cd/home/lvnian/toolsTar jxf eaccelerator-0.9.6.tar.bz2CD eaccelerator-0.9.6/application/php/bin/phpize./configure--enable-eaccelerato=shared--with-php-config=/application/php/bin/php-configecho $?Make make installLs-l/application/php5.3.27/lib/php/extensions/no-debug-zts-20090626/##### #编译安装xcache, XCache and eaccelerator are all acceleration modules, select one installation in productionCd/home/lvnian/

Saltstack Deployment nginx+php

.tar.gz -source:salt://php/libmcrypt/files/libmcrypt-2.5.8.tar.gz-user :root-group:root-mode:755 cmd.run:-name:cd/opt/toolstar-zxf libmcrypt-2.5.8.tar.gzcdlibmcrypt-2.5.8./configure makemakeinstallldconfig cdlibltdl./configure--enable-ltdl-install makemakeinstall/sbin/ldconfig- unless:test-e/usr/local/lib/libmcrypt.so.4.4.8-require: -file:libmcrypt-source-install Install Mhash: [[emailprotected]base]#catphp/mhash.slsmhash-source-install: file.manag

centos6.5 upgrade Python to 2.7

Today online server All upgrade Python environment for python-2.7.6 Environment, I use the method is Ansible+shell, code as follows, friend, Python-2.7.6.tgz, setuptools-14.3.1.tar.gz, Pip-9.0.1.tar.gz, these three bags I was in advance under the/data/x5online/tools directory, of course, you can also directly in the script wget related packages, the individual likes to put the package and then unified in the/data/x5online/ Tools directory, the script is relatively simple, record, save and forget

Linux Server Backup utility (tar,cpio,dump)

default.Some directories should be considered for non-backup./procYou should never back up this directory. It is not a real file system, but a virtualized view that runs the kernel and environment. It includes files such as/proc/kcore, which are virtual views of the entire running memory. Backing up these files is just a waste of resources./devContains the file representation of the hardware device. If you plan to restore to a blank system, you can back up/dev. However, if you plan to restore t

CentOS6.8 x86_64bit mysql-5.5.57 Multi-instance installation

Tags: configuration file comm Xargs ora time connect however Quic FederatedMySQL Multi-instance installationNote: Pre-download Save mysql-5.5.57 package with CMake compile MySQL toolLl/home/rich/toolsMysql-5.5.57.tar.gz cmake-2.8.8.tar.gz1. Install dependent environment and CMake compilation softwareYum install-y ncurses-devel Libaio-develMkdir/home/rich/tools-pRz-y cmake-2.8.8.tar.gz mysql-5.5.57.tar.gzTar XF cmake-2.8.8.tar.gzCD cmake-2.8.8./configureGmakeGmake Install2. Add users who manage M

Linux Engineer Technology << Systems & Service Management Advanced >>

/etc: Store various system configuration, system service configuration file04. Briefly describe the basic process of installing software from source code, and the purpose of each link, command toolsTar Unpack: Extract the downloaded source package to release./configure configuration: Set up the Installation checklist (Specify the installation directory, required features, etc.)Make compile: The source code files are made into binary executable program

CentOS uses Inotify+rsync for file synchronization

users = rsync_backup # Virtual UserSecrets file =/etc/rsync.password # Virtual user password files locationConfigure a virtual user's password fileecho "rsync_backup:123456" >/etc/rsync.password# Note: Rsync_backup is a virtual user, 123456 is the password for this virtual userchmod 600/etc/rsync.password #为密码文件提权 for added safetyStart the Rsync serviceRsync--daemon--config=/etc/rsyncd.conf4. Inotify-master DeploymentInstalling Inotify-toolsTar zxvf

Use of the TAR packaging tool

mulu.zip Archive: mulu.zip Length Date Time Name--------- ---------- ----- ---- 0 06-24-2018 12:57 1.txt 0 06-24-2018 12:54 mulu/ 3017434 06-21-2018 15:54 mulu/wen.txt 800798 06-24-2018 12:54 mulu/wen.txt.zip--------- ------- 3818232 4 filesTar Packaging toolsTAR-CVF Packaging The contents of the name to be packagedTAR-XCF Package NameTAR-TF Package Name View the number of files inside a packaged fileTAR-CVF Package name--exclude 1

Linux installation manual tutorial

JAVA_HOME =/usr/local/jdkExport PATH = $ PATH: $ JAVA_HOME/binExport CLASSPATH = $ JAVA_HOME/lib10 check with which java,/usr/local/jdk/bin/java appears Install gccUse rpm-ivh *. rpm to install four packages in the following orderBinutils-2.13.90.0.2-2.i386.rpmGlibc-kernheaders-2.4-7.20.i386.rpmGlibc-devel-2.2.93-5.i386.rpmGcc-3.2-7.i386.rpm Install APACHE1 download httpd-2.0.47.tar.gz in/root/tools2 cd/root/tools/3 tar-xzvf httpd-2.0.47.tar.gz4 cd httpd-2.0.475./configure-- With-layout = Apach

Cmake_mysql_5.5.32.sh --- shell_V1

Cmake_mysql_5.5.32.sh --- shell_V1 #!/bin/sh#####this is install mysql 5.5.32 scripts##########liycwing function mysql(){yum install ncurses-devel libaio-devel -ycd /application/toolstar zxf cmake-2.8.8.tar.gzcd cmake-2.8.8./configuregmakegmake installcd ..groupadd mysqluseradd mysql -s /sbin/nologin -M -g mysqlcd /application/tools/tar zxf mysql-5.5.32.tar.gzcd /application/tools/mysql-5.5.32 cmake . -DCMAKE_INSTALL_PREFIX=/application/mysql-5.5.32

6. Create a Web server (LAMP):

Install zlib Zlib-develCd/server/toolsTAR-XF httpd-2.2.32.tar.gzCD httpd-2.2.32Mkdir-p/application/apach2.2.31./configure \--prefix=/application/apache2.2.31 \--enable-deflate \--enable-expires \--enable-headers \--enable-modules=most \--ENABLE-SO \--with-mpm=worker \--enable-rewriteMakeMake installLn-s/application/apache2.2.31//application/apacheLl/application/apache#config Apachecd/application/apache/htdocs/mkdir BBS Blog wwwecho "Apache www" > www

Linux Server Backup utility (tar,cpio,dump)

default.Some directories should be considered for non-backup./procYou should never back up this directory. It is not a real file system, but a virtualized view that runs the kernel and environment. It includes files such as/proc/kcore, which are virtual views of the entire running memory. Backing up these files is just a waste of resources./devContains the file representation of the hardware device. If you plan to restore to a blank system, you can back up/dev. However, if you plan to restore t

Memcache High Availability

Memcache high availability, with memcached repcached toolsTar zxvf memcached-1.2.8-repcached 2.2.tar.gzInstallationYUM INSTALL Libevent-develCD memcached-1.2.8-repcached 2.2./configure--enable-replication--program-transform-name=s/memcached/repcached/Make make install/usr/local/bin/repcached-p 11211-v/usr/local/bin/repcached-p 11211-x Ip-v-DThis article is from the "12024114" blog, please be sure to keep this source http://12034114.blog.51cto.com/120

Linux Security---rsync

}.avirsync-avzh/data [Email Protected]:/opt/data_bakrsync-avzh/data/[Email Protected]:/opt/data_bakrsync-avzh/data/[Email Protected]:/opt/data_bak--deleteVerify the results on the backup source.Case: SSH key pair authentication after rsync synchronizationSSH-KEYGEN-T RSASsh-copy-id [email protected] # #给下载用户上传公钥匙Ssh-copy-id [Email protected]2.168.100.151SSH [email protected] # #登录验证, R_putPerform rssync synchronization validation:vi/root/bin/rsync.sh#!/bin/bashrsync-avzh/data/[Email Protected]:/

Linux compression, decompression, and packaging tools

/user1/(stored 0) adding:home/user2/(stored 0%) [[email protected] tmp]# Lshome home.zipArchive compression for catalogs typically uses the Tar tool, so zip is no longer introduced here Five, packaging archiving toolsTar: Packaged Archive toolcan be implemented to package multiple files into a single file, which is an archive file, but tar is only archived, not compressed1. Create an archivetar [-CVF] Tarfile.tar filename-c:create, new package f

4. Create a database server (MySQL):

' >>/var/spool/cron/rootEcho ' */5 * * * * */usr/sbin/ntpdate 172.16.1.61 >/dev/null 2>1 ' >>/var/spool/cron/rootCrontab-l#tar configs for every server rsync to backup#install rsyncYum-y Install Rsync#create Passwordfileecho "Oldboy" >/etc/rsync.passwordchmod 600/etc/rsync.passwordCat >/server/scripts/bak.sh #!/bin/sh# #create by 20has at 2017-5-18ip=\$ (Ifconfig eth1|awk-f "[:]+" ' Nr==2{print \$4} ')time=\$ (Date +%f)Mkdir-p/backup/\ $IPCD/ \Tar-zcf/backup/\ $IP/\ $TIME. tar.gz var/spool/cron

MySQL-5.5 CMake Compile and install

-wh_500x0-wm_3-wmp_4-s_324252859.png "border=" 0 "/>1.2 Unzip compile MySQLCd/root/toolsTar zxf mysql-5.5.32.tar.gzCD mysql-5.5.32650) this.width=650; "Width=" 554 "height=" "title=" 8.png "style=" Background:url ("/e/u261/lang/zh-cn/images/ Localimage.png ") No-repeat center;border:1px solid RGB (221,221,221);" alt= "Spacer.gif" src= "http://s3.51cto.com/ Wyfs02/m01/8c/69/wkiol1hswmdagb5aaaahrroz_b8224.png-wh_500x0-wm_3-wmp_4-s_702304472.png "border=

mysql-5.5.46 Source Code Compilation installation

1. Installation Preparation cat/etc/redhat-release uname-r yum install ncurses-devel cmake automake autoconf make gcc gcc-c+ + bison-y mkdir /application/data-p groupadd MySQL useradd-g mysql -s /sbin/nologin-m mysql 2. Source code installation CD ToolsTar XF mysql-5.5.46.tar.gzCMake.-dcmake_install_prefix=/application/mysql-5.5.46 \-dmysql_datadir=/application/data \-dmysql_unix_addr=/applicati

Linux Learning Note 3.0

bzipTar ToolsTar (Tape ARchive, abbreviation for tape archive)(1) Create an archiveTar-cpvf/path/to/somefile.tar FILE ...(2) Append files to archive (does not support appending to compressed files)Tar-r-f/path/to/somefile.tar FILE ...(3) View the list of files in the archive fileTar-t-f/path/to/somefile.tar(4) Expand archiveTar-x-f/path/to/somefile.tarTar-x-f/path/to/somefile.tar-c/path(5) Combined with compression tool implementation: Archive and Co

Total Pages: 2 1 2 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.